#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H



#include <QWidget>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QPushButton>
#include <qlabel.h>
#include <QDir>
#include <QString>
#include <QHBoxLayout>
#include <QSpacerItem>
#include <QRegion>
#include <QGraphicsDropShadowEffect>



QT_BEGIN_NAMESPACE
namespace Ui {
class BG;
}
QT_END_NAMESPACE

class LoginWidget : public QWidget
{
    Q_OBJECT

public:
    LoginWidget(QWidget *parent = nullptr);
    ~LoginWidget();


private:
    QFont *font;
    Ui::BG *ui;
    QWidget *titleWidget;
    QLabel *iconLabel;
    QPushButton *exitPushButton;
    QLineEdit *accountLineEdit;
    QLineEdit *passwordLineEdit;
    QVBoxLayout *layout;
    QPushButton *loginPushButton;
    QGraphicsDropShadowEffect *shadow;
    void AddShadow(QWidget *qWidget);
public slots:
    void ExitApp();
    void Login();
};


#endif // LOGINWIDGET_H
